//
//  TabBar.swift
//  StorePlan
//
//  Created by admin on 2020/9/22.
//  Copyright © 2020 admin. All rights reserved.
//

import SwiftUI

struct TabBar: View {
    var body: some View {
        TabView {
            SPStoreList().tabItem {
                Image(systemName: "house")
                Text("首页")
            }
            LikeList(categorys:[]).tabItem {
                Image(systemName: "suit.heart")
                Text("收藏")
            }
            SPStoreList().tabItem {
                Image(systemName: "gear")
                Text("Updates")
            }
        }
    }
}

struct TabBar_Previews: PreviewProvider {
    static var previews: some View {
        Group {
            TabBar()
        }
    }
}
